-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter improvements in zed #341
Conversation
22a9e5e
to
c5bf6cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two things on UX totally unrelated to your changes, but we should fix them up while we're here
@@ -86,3 +116,73 @@ func watchCmdFunc(cmd *cobra.Command, _ []string) error { | |||
} | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you link to this output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed, but didn't add colors
@@ -44,8 +64,18 @@ func watchCmdFunc(cmd *cobra.Command, _ []string) error { | |||
return err | |||
} | |||
|
|||
relFilters := make([]*v1.RelationshipFilter, 0, len(watchRelationshipFilters)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once again can't comment on the line, but the console.Errorf("starting watch stream"...
, should be using the real logger and only on debug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to printf; can't use the real logger because this code is called in WASM
c5bf6cf
to
7dd68a1
Compare
7dd68a1
to
fd4d594
Compare
110ad86
to
2777dc3
Compare
0a37a00
to
c1dca00
Compare
Updates zed to support recently adding relationship filtering improvements in SpiceDB
Requires authzed/spicedb#1739